#include "dialog.h"
#include "ui_dialog.h"
#include "testview.h"

Dialog::Dialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Dialog)
{
    ui->setupUi(this);
    ui->widget->setHostedWindow(new TestView);
    ui->widget_2->setHostedWindow(new TestView);
}

Dialog::~Dialog()
{
    delete ui;
}

void Dialog::on_tabWidget_currentChanged(int index)
{
    //dumpObjectTree();
}
